<template>
  <div class="homeWindow">
    <div class="home_header">
      <cus-header></cus-header>
    </div>
    <div class="home_body">
      <layout>
        <router-view v-slot="{ Component }">
          <keep-alive>
            <component :is="Component" />
          </keep-alive>
        </router-view>
      </layout>
    </div>
  </div>
</template>
<script setup name="home">
import cusHeader from '@/components/cus-header.vue'
import Layout from "@/components/cus-layout.vue";
</script>
<style scoped lang="scss">
.homeWindow {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;

  .home_header {
    width: 100%;
    position: relative;
  }

  .home_body {
    width: 100%;
    background-color: #eeeeee;
    height: calc(100% - 61px);
  }
}
</style>